package com.mei.demo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mei.demo.domain.Dictionary;
import com.mei.demo.domain.DictionarySearcher;

/**
 * 数据字典 dao
 * 
 * 2018年7月11日 下午8:59:01 mei.xiaoliang@qq.com
 */
@Mapper
public interface DictionaryDao extends BaseMapper<Dictionary> {

    /**
     * 查询所有
     */
    List<Dictionary> listCC(DictionarySearcher searcher);

    Dictionary browse(Integer id);

    /**
     * code 查询字典
     */
    Dictionary queryGroupByCode(Dictionary dictionary);

    int update(Dictionary dictionary);

    int delete(Dictionary dictionary);

}